package cn.one.service.user;

import cn.one.common.Page;
import cn.one.pojo.User;

import java.util.List;
import java.util.Map;

/**
* Created by shang-pc on 2015/11/7.
*/
public interface UserService {

    public User getUserById(Integer w_number)throws Exception;

    public List<User>	getUserListByMap(Map<String, Object> param)throws Exception;

    public Integer getUserCountByMap(Map<String, Object> param)throws Exception;

    public Integer AddUser(User User)throws Exception;

    public Integer ModifyUser(User User)throws Exception;

    public Integer DeleteUserById(Integer w_number)throws Exception;

    public Page<User> queryUserPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize)throws Exception;
}
